import java.util.Date;

public class Reservation {
    private int id;
    private int studentId;
    private int seatNo;
    private Date reserveTime;

    // 构造方法
    public Reservation() {}
    public Reservation(int studentId, int seatNo, Date reserveTime) {
        this.studentId = studentId;
        this.seatNo = seatNo;
        this.reserveTime = reserveTime;
    }

    // Getter和Setter
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public int getStudentId() { return studentId; }
    public void setStudentId(int studentId) { this.studentId = studentId; }
    public int getSeatNo() { return seatNo; }
    public void setSeatNo(int seatNo) { this.seatNo = seatNo; }
    public Date getReserveTime() { return reserveTime; }
    public void setReserveTime(Date reserveTime) { this.reserveTime = reserveTime; }
}